<!doctype html>
<html lang="en">
  <head>
    <title>Title</title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="./bootstrap/dist/css/bootstrap.min.css">
    <script src="./jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap CSS -->
    <script src="./bootstrap-fileinput/themes/fa/theme.min.js"></script>
  </head>
  <body>

  
    <div class="jumbotron">
        <div class="container">
            <h1 class="display-3">play</h1>
            <p class="lead">
                <video id="video" src=""  height="300" width="480"  controls  autoplay ></video>
            </p>
        </div>
    </div>
    
  </body>
</html>


<script>

   function  getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]);
        return null;
    };


   $(document).ready(function () {

       $('#video').attr('src', getQueryString('id'));
   })





</script>